var test = function(tabs,type,value) {
	chrome.tabs.sendMessage(tabs.id, {type: type,value:value}, function(response) {
        console.log(response.farewell);
    });
	localStorage.setItem(type,value);
}

var getConfigValue = function(type) {
	var value  = localStorage.getItem(type);
	if(type=="acfunFix") {
		return value||0;
	} else {
		return value||1;
	}
}

